package dao;

import model.Cart;
import model.Goods;
import model.Order;

import java.util.List;

public interface IShopDao {
    public List<Goods> selectGoods(Goods goods);
    public List<Goods> selectParentId(Goods goods);
    public List<Goods> selectSortId(Goods goods);

    public int insertCart(Cart cart);
    public List<Goods> selectCart(Cart cart);

    public int updateCount(Goods goods);
    public int count(Cart cart);
    public int insertOrder(Order order);
    public int deleteCrat(Integer id);
    public List<Order> selectOrder(Order order);

}
